package com.example.plugin;

import org.noear.solon.core.AppContext;
import org.noear.solon.core.Plugin;

/**
 * @author airhead
 */
public class XPluginImp implements Plugin {
    private AppContext appContext;

    @Override
    public void start(AppContext context) throws Throwable {
        appContext = context;

        appContext.beanScan(XPluginImp.class);
    }

    @Override
    public void stop() throws Throwable {
        Plugin.super.stop();
    }
}
